package cn.getech.data.metadata.api.gateway.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "collection_setting")
public class CollectionSetting implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 所属树目录层级 
     */
    @TableField(value = "tree_level_max")
    private Integer treeLevelMax;

    /**
     * 资产目录层级 
     */
    @TableField(value = "category_level_max")
    private Integer categoryLevelMax;

    /**
     * 1 数据资产管理平台 2 对接外部平台
     */
    @TableField(value = "approval_platform")
    private Integer approvalPlatform;

    /**
     * 1根据设置的审批人顺序进行审批 
     */
    @TableField(value = "approval_process")
    private Integer approvalProcess;

    /**
     * 1 资产类目的目录负责人
     */
    @TableField(value = "approval_data_source")
    private Integer approvalDataSource;

    /**
     * 创建理时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private Long createUser;

    /**
     * 更新人
     */
    @TableField(value = "update_user")
    private Long updateUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 删除 1 是,0 否
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    @TableField(value = "tenant_id")
    private Integer tenantId;

    private static final long serialVersionUID = 1L;
}